package com.scm.bean;

/**
 * Storageposition entity. @author MyEclipse Persistence Tools
 */

public class Storageposition implements java.io.Serializable {

	// Fields

	private Integer storagePositionId;
	private Vehicle vehicle=new Vehicle();
	private Storage storage;
	private String storagePositionName;

	// Constructors

	/** default constructor */
	public Storageposition() {
	}

	/** minimal constructor */
	public Storageposition(Storage storage, String storagePositionName) {
		this.storage = storage;
		this.storagePositionName = storagePositionName;
	}

	/** full constructor */
	public Storageposition(Vehicle vehicle, Storage storage,
			String storagePositionName) {
		this.vehicle = vehicle;
		this.storage = storage;
		this.storagePositionName = storagePositionName;
	}

	// Property accessors

	public Integer getStoragePositionId() {
		return this.storagePositionId;
	}

	public void setStoragePositionId(Integer storagePositionId) {
		this.storagePositionId = storagePositionId;
	}

	public Vehicle getVehicle() {
		return this.vehicle;
	}

	public void setVehicle(Vehicle vehicle) {
		this.vehicle = vehicle;
	}

	public Storage getStorage() {
		return this.storage;
	}

	public void setStorage(Storage storage) {
		this.storage = storage;
	}

	public String getStoragePositionName() {
		return this.storagePositionName;
	}

	public void setStoragePositionName(String storagePositionName) {
		this.storagePositionName = storagePositionName;
	}

}